﻿using System;

namespace GSPMigratorCore.Misc
{
    [Serializable]
    public class GSPException : Exception
    {
        private int _Sid;
      
        public int Sid
        {
            get { return _Sid; }
            set
            {
            _Sid = value;
           
            }
        }

        private string _code;
        public string Code
        {
            get { return _code; }
            set
            {
               _code = value;
             
            }
        }

        private string _type;
        public string Type
        {
            get { return _type; }
            set
            {
               _type = value;
            
            }
        }

        private string _description;
        public string Description
        {
            get { return _description; }
            set
            {
               _description = value;
             
            }
        }

        public GSPException()
        {

        }
        public GSPException(int Sid, string type, string code, string description)
        {
            this._Sid = Sid;
            this._type = type;
            this._code = code;
            this._description = description;
        }
    }
}
